gnome-commander r2120 - in branches/gcmd-1-3/src: . intviewer
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2120 - in branches/gcmd-1-3/src: . intviewer
- Date: Fri, 26 Sep 2008 17:09:36 +0000 (UTC)
Author: epiotr
Date: Fri Sep 26 17:09:35 2008
New Revision: 2120
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2120&view=rev
Log:
Code cleanup
Modified:
branches/gcmd-1-3/src/eggcellrendererkeys.h
branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.h
branches/gcmd-1-3/src/gnome-cmd-app.h
branches/gcmd-1-3/src/gnome-cmd-bookmark-dialog.h
branches/gcmd-1-3/src/gnome-cmd-chmod-component.h
branches/gcmd-1-3/src/gnome-cmd-chmod-dialog.h
branches/gcmd-1-3/src/gnome-cmd-chown-component.h
branches/gcmd-1-3/src/gnome-cmd-chown-dialog.h
branches/gcmd-1-3/src/gnome-cmd-clist.h
branches/gcmd-1-3/src/gnome-cmd-cmdline.h
branches/gcmd-1-3/src/gnome-cmd-combo.h
branches/gcmd-1-3/src/gnome-cmd-con-device.h
branches/gcmd-1-3/src/gnome-cmd-con-ftp.h
branches/gcmd-1-3/src/gnome-cmd-con-home.h
branches/gcmd-1-3/src/gnome-cmd-con-list.h
branches/gcmd-1-3/src/gnome-cmd-con-smb.h
branches/gcmd-1-3/src/gnome-cmd-con.h
branches/gcmd-1-3/src/gnome-cmd-dir-indicator.h
branches/gcmd-1-3/src/gnome-cmd-dir.h
branches/gcmd-1-3/src/gnome-cmd-file-list.cc
branches/gcmd-1-3/src/gnome-cmd-file-list.h
branches/gcmd-1-3/src/gnome-cmd-file-popmenu.h
branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
branches/gcmd-1-3/src/gnome-cmd-file-selector.h
branches/gcmd-1-3/src/gnome-cmd-file.h
branches/gcmd-1-3/src/gnome-cmd-list-popmenu.h
branches/gcmd-1-3/src/gnome-cmd-main-menu.h
branches/gcmd-1-3/src/gnome-cmd-main-win.h
branches/gcmd-1-3/src/gnome-cmd-make-copy-dialog.h
branches/gcmd-1-3/src/gnome-cmd-mkdir-dialog.h
branches/gcmd-1-3/src/gnome-cmd-options-dialog.h
branches/gcmd-1-3/src/gnome-cmd-path.h
branches/gcmd-1-3/src/gnome-cmd-patternsel-dialog.h
branches/gcmd-1-3/src/gnome-cmd-plain-path.h
branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.h
branches/gcmd-1-3/src/gnome-cmd-quicksearch-popup.h
branches/gcmd-1-3/src/gnome-cmd-remote-dialog.h
branches/gcmd-1-3/src/gnome-cmd-rename-dialog.h
branches/gcmd-1-3/src/gnome-cmd-search-dialog.h
branches/gcmd-1-3/src/gnome-cmd-smb-auth.h
branches/gcmd-1-3/src/gnome-cmd-smb-path.h
branches/gcmd-1-3/src/gnome-cmd-style.h
branches/gcmd-1-3/src/gnome-cmd-xfer-progress-win.h
branches/gcmd-1-3/src/imageloader.h
branches/gcmd-1-3/src/intviewer/image-render.h
branches/gcmd-1-3/src/intviewer/scroll-box.h
branches/gcmd-1-3/src/intviewer/search-dlg.h
branches/gcmd-1-3/src/intviewer/search-progress-dlg.h
branches/gcmd-1-3/src/intviewer/text-render.h
branches/gcmd-1-3/src/intviewer/viewer-widget.h
branches/gcmd-1-3/src/intviewer/viewer-window.h
branches/gcmd-1-3/src/ls_colors.h
branches/gcmd-1-3/src/owner.h
branches/gcmd-1-3/src/plugin_manager.h
branches/gcmd-1-3/src/utils.h
Modified: branches/gcmd-1-3/src/eggcellrendererkeys.h
==============================================================================
--- branches/gcmd-1-3/src/eggcellrendererkeys.h (original)
+++ branches/gcmd-1-3/src/eggcellrendererkeys.h Fri Sep 26 17:09:35 2008
@@ -76,8 +76,8 @@
guint hardware_keycode);
};
-GType egg_cell_renderer_keys_get_type (void);
-GtkCellRenderer *egg_cell_renderer_keys_new (void);
+GType egg_cell_renderer_keys_get_type ();
+GtkCellRenderer *egg_cell_renderer_keys_new ();
#ifndef HAVE_GTK_2_10
typedef enum
Modified: branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-advrename-dialog.h Fri Sep 26 17:09:35 2008
@@ -63,6 +63,6 @@
GtkWidget *gnome_cmd_advrename_dialog_new (GList *files);
-GtkType gnome_cmd_advrename_dialog_get_type (void);
+GtkType gnome_cmd_advrename_dialog_get_type ();
#endif // __GNOME_CMD_ADVRENAME_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-app.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-app.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-app.h Fri Sep 26 17:09:35 2008
@@ -41,7 +41,7 @@
GnomeCmdAppPrivate *priv;
};
-GnomeCmdApp *gnome_cmd_app_new (void);
+GnomeCmdApp *gnome_cmd_app_new ();
GnomeCmdApp *gnome_cmd_app_new_from_vfs_app (GnomeVFSMimeApplication *vfs_app);
Modified: branches/gcmd-1-3/src/gnome-cmd-bookmark-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-bookmark-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-bookmark-dialog.h Fri Sep 26 17:09:35 2008
@@ -52,11 +52,11 @@
extern guint bookmark_dialog_default_column_width[BOOKMARK_DIALOG_NUM_COLUMNS];
-GtkWidget *gnome_cmd_bookmark_dialog_new (void);
+GtkWidget *gnome_cmd_bookmark_dialog_new ();
-GtkType gnome_cmd_bookmark_dialog_get_type (void);
+GtkType gnome_cmd_bookmark_dialog_get_type ();
-void gnome_cmd_bookmark_add_current (void);
+void gnome_cmd_bookmark_add_current ();
void gnome_cmd_bookmark_goto (GnomeCmdBookmark *bookmark);
Modified: branches/gcmd-1-3/src/gnome-cmd-chmod-component.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-chmod-component.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-chmod-component.h Fri Sep 26 17:09:35 2008
@@ -54,7 +54,7 @@
GtkWidget *gnome_cmd_chmod_component_new (GnomeVFSFilePermissions perms);
-GtkType gnome_cmd_chmod_component_get_type (void);
+GtkType gnome_cmd_chmod_component_get_type ();
GnomeVFSFilePermissions gnome_cmd_chmod_component_get_perms (GnomeCmdChmodComponent *component);
void gnome_cmd_chmod_component_set_perms (GnomeCmdChmodComponent *component, GnomeVFSFilePermissions perms);
Modified: branches/gcmd-1-3/src/gnome-cmd-chmod-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-chmod-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-chmod-dialog.h Fri Sep 26 17:09:35 2008
@@ -48,6 +48,6 @@
GtkWidget *gnome_cmd_chmod_dialog_new (GList *files);
-GtkType gnome_cmd_chmod_dialog_get_type (void);
+GtkType gnome_cmd_chmod_dialog_get_type ();
#endif // __GNOME_CMD_CHMOD_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-chown-component.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-chown-component.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-chown-component.h Fri Sep 26 17:09:35 2008
@@ -50,10 +50,10 @@
GtkWidget*
-gnome_cmd_chown_component_new (void);
+gnome_cmd_chown_component_new ();
GtkType
-gnome_cmd_chown_component_get_type (void);
+gnome_cmd_chown_component_get_type ();
void
gnome_cmd_chown_component_set (GnomeCmdChownComponent *comp, uid_t owner, gid_t group);
Modified: branches/gcmd-1-3/src/gnome-cmd-chown-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-chown-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-chown-dialog.h Fri Sep 26 17:09:35 2008
@@ -52,6 +52,6 @@
gnome_cmd_chown_dialog_new (GList *files);
GtkType
-gnome_cmd_chown_dialog_get_type (void);
+gnome_cmd_chown_dialog_get_type ();
#endif // __GNOME_CMD_CHOWN_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-clist.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-clist.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-clist.h Fri Sep 26 17:09:35 2008
@@ -50,7 +50,7 @@
-GtkType gnome_cmd_clist_get_type (void);
+GtkType gnome_cmd_clist_get_type ();
GtkWidget *gnome_cmd_clist_new_with_titles (gint columns, gchar **titles);
Modified: branches/gcmd-1-3/src/gnome-cmd-cmdline.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-cmdline.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-cmdline.h Fri Sep 26 17:09:35 2008
@@ -46,9 +46,9 @@
};
-GtkWidget *gnome_cmd_cmdline_new (void);
+GtkWidget *gnome_cmd_cmdline_new ();
-GtkType gnome_cmd_cmdline_get_type (void);
+GtkType gnome_cmd_cmdline_get_type ();
GtkWidget *gnome_cmd_cmdline_get_entry (GnomeCmdCmdline *cmdline);
Modified: branches/gcmd-1-3/src/gnome-cmd-combo.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-combo.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-combo.h Fri Sep 26 17:09:35 2008
@@ -78,7 +78,7 @@
void (* popwin_hidden) (GnomeCmdCombo *combo);
};
-guint gnome_cmd_combo_get_type (void);
+guint gnome_cmd_combo_get_type ();
GtkWidget *gnome_cmd_combo_new (gint num_cols, gint text_col, gchar **col_titles);
Modified: branches/gcmd-1-3/src/gnome-cmd-con-device.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con-device.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con-device.h Fri Sep 26 17:09:35 2008
@@ -49,7 +49,7 @@
};
-GtkType gnome_cmd_con_device_get_type (void);
+GtkType gnome_cmd_con_device_get_type ();
GnomeCmdConDevice *gnome_cmd_con_device_new (const gchar *alias, const gchar *device_fn, const gchar *mountp, const gchar *icon_path);
Modified: branches/gcmd-1-3/src/gnome-cmd-con-ftp.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con-ftp.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con-ftp.h Fri Sep 26 17:09:35 2008
@@ -46,7 +46,7 @@
};
-GtkType gnome_cmd_con_ftp_get_type (void);
+GtkType gnome_cmd_con_ftp_get_type ();
GnomeCmdConFtp *gnome_cmd_con_ftp_new (const gchar *alias, const std::string &uri);
GnomeCmdConFtp *gnome_cmd_con_ftp_new (const gchar *alias, const gchar *host, guint port, const gchar *user, const gchar *password, const gchar *remote_dir);
Modified: branches/gcmd-1-3/src/gnome-cmd-con-home.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con-home.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con-home.h Fri Sep 26 17:09:35 2008
@@ -49,8 +49,8 @@
};
-GtkType gnome_cmd_con_home_get_type (void);
+GtkType gnome_cmd_con_home_get_type ();
-GnomeCmdCon *gnome_cmd_con_home_new (void);
+GnomeCmdCon *gnome_cmd_con_home_new ();
#endif // __GNOME_CMD_CON_HOME_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-con-list.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con-list.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con-list.h Fri Sep 26 17:09:35 2008
@@ -58,9 +58,9 @@
};
-GtkType gnome_cmd_con_list_get_type (void);
+GtkType gnome_cmd_con_list_get_type ();
-GnomeCmdConList *gnome_cmd_con_list_new (void);
+GnomeCmdConList *gnome_cmd_con_list_new ();
inline GnomeCmdConList *gnome_cmd_con_list_get ()
{
Modified: branches/gcmd-1-3/src/gnome-cmd-con-smb.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con-smb.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con-smb.h Fri Sep 26 17:09:35 2008
@@ -49,9 +49,9 @@
GtkType
-gnome_cmd_con_smb_get_type (void);
+gnome_cmd_con_smb_get_type ();
GnomeCmdCon *
-gnome_cmd_con_smb_new (void);
+gnome_cmd_con_smb_new ();
#endif // __GNOME_CMD_CON_SMB_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-con.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con.h Fri Sep 26 17:09:35 2008
@@ -127,7 +127,7 @@
};
-GtkType gnome_cmd_con_get_type (void);
+GtkType gnome_cmd_con_get_type ();
void gnome_cmd_con_open (GnomeCmdCon *con);
Modified: branches/gcmd-1-3/src/gnome-cmd-dir-indicator.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-dir-indicator.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-dir-indicator.h Fri Sep 26 17:09:35 2008
@@ -52,7 +52,7 @@
GtkType
-gnome_cmd_dir_indicator_get_type (void);
+gnome_cmd_dir_indicator_get_type ();
GtkWidget *
gnome_cmd_dir_indicator_new (GnomeCmdFileSelector *fs);
Modified: branches/gcmd-1-3/src/gnome-cmd-dir.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-dir.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-dir.h Fri Sep 26 17:09:35 2008
@@ -85,7 +85,7 @@
typedef struct _GnomeCmdCon GnomeCmdCon;
-GtkType gnome_cmd_dir_get_type (void);
+GtkType gnome_cmd_dir_get_type ();
GnomeCmdDir *gnome_cmd_dir_new_from_info (GnomeVFSFileInfo *info, GnomeCmdDir *parent);
GnomeCmdDir *gnome_cmd_dir_new_with_con (GnomeVFSFileInfo *info, GnomeCmdPath *path, GnomeCmdCon *con);
Modified: branches/gcmd-1-3/src/gnome-cmd-file-list.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-list.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-list.cc Fri Sep 26 17:09:35 2008
@@ -237,7 +237,7 @@
text[GnomeCmdFileList::COLUMN_EXT] = fext;
text[GnomeCmdFileList::COLUMN_DIR] = dpath;
text[GnomeCmdFileList::COLUMN_SIZE] = tree_size ? (gchar *) gnome_cmd_file_get_tree_size_as_str (f) :
- (gchar *) gnome_cmd_file_get_size (f);
+ (gchar *) gnome_cmd_file_get_size (f);
text[GnomeCmdFileList::COLUMN_DATE] = (gchar *) gnome_cmd_file_get_mdate (f, FALSE);
text[GnomeCmdFileList::COLUMN_PERM] = (gchar *) gnome_cmd_file_get_perm (f);
text[GnomeCmdFileList::COLUMN_OWNER] = (gchar *) gnome_cmd_file_get_owner (f);
Modified: branches/gcmd-1-3/src/gnome-cmd-file-list.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-list.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-list.h Fri Sep 26 17:09:35 2008
@@ -121,7 +121,7 @@
void show_files(GnomeCmdDir *dir);
void show_dir_size(GnomeCmdFile *f);
- void show_column(ColumnID col, gboolean value) { gtk_clist_set_column_visibility (GTK_CLIST (this), col, value); }
+ void show_column(ColumnID col, gboolean value) { gtk_clist_set_column_visibility (GTK_CLIST (this), col, value); }
ColumnID get_sort_column();
static guint get_column_default_width(ColumnID col);
Modified: branches/gcmd-1-3/src/gnome-cmd-file-popmenu.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-popmenu.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-popmenu.h Fri Sep 26 17:09:35 2008
@@ -52,6 +52,6 @@
GtkWidget *gnome_cmd_file_popmenu_new (GnomeCmdFileList *fl);
-GtkType gnome_cmd_file_popmenu_get_type (void);
+GtkType gnome_cmd_file_popmenu_get_type ();
#endif // __GNOME_CMD_FILE_POPMENU_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-selector.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-selector.cc Fri Sep 26 17:09:35 2008
@@ -1366,7 +1366,7 @@
g_return_if_fail (GNOME_CMD_IS_DIR (fs->priv->cwd));
g_return_if_fail (GNOME_CMD_IS_CON (fs->priv->con));
- if (!gnome_cmd_con_is_local (fs->priv->con))
+ if (!fs->is_local())
return;
// create a command with an empty argument to the editor
Modified: branches/gcmd-1-3/src/gnome-cmd-file-selector.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-selector.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-selector.h Fri Sep 26 17:09:35 2008
@@ -101,8 +101,8 @@
};
-GtkType gnome_cmd_file_selector_get_type (void);
-GtkWidget *gnome_cmd_file_selector_new (void);
+GtkType gnome_cmd_file_selector_get_type ();
+GtkWidget *gnome_cmd_file_selector_new ();
void gnome_cmd_file_selector_set_directory_to_opposite (GnomeCmdMainWin *mw, FileSelectorID fsID);
Modified: branches/gcmd-1-3/src/gnome-cmd-file.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-file.h Fri Sep 26 17:09:35 2008
@@ -54,7 +54,7 @@
typedef struct _GnomeCmdDir GnomeCmdDir;
-GtkType gnome_cmd_file_get_type (void);
+GtkType gnome_cmd_file_get_type ();
GnomeCmdFile *gnome_cmd_file_new (GnomeVFSFileInfo *info, GnomeCmdDir *dir);
void gnome_cmd_file_setup (GnomeCmdFile *f, GnomeVFSFileInfo *info, GnomeCmdDir *dir);
Modified: branches/gcmd-1-3/src/gnome-cmd-list-popmenu.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-list-popmenu.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-list-popmenu.h Fri Sep 26 17:09:35 2008
@@ -54,6 +54,6 @@
gnome_cmd_list_popmenu_new (GnomeCmdFileSelector *fs);
GtkType
-gnome_cmd_list_popmenu_get_type (void);
+gnome_cmd_list_popmenu_get_type ();
#endif // __GNOME_CMD_LIST_POPMENU_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-main-menu.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-main-menu.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-main-menu.h Fri Sep 26 17:09:35 2008
@@ -50,9 +50,9 @@
};
-GtkWidget * gnome_cmd_main_menu_new (void);
+GtkWidget *gnome_cmd_main_menu_new ();
-GtkType gnome_cmd_main_menu_get_type (void);
+GtkType gnome_cmd_main_menu_get_type ();
void gnome_cmd_main_menu_update_connections (GnomeCmdMainMenu *main_menu);
Modified: branches/gcmd-1-3/src/gnome-cmd-main-win.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-main-win.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-main-win.h Fri Sep 26 17:09:35 2008
@@ -53,9 +53,9 @@
extern GnomeCmdMainWin *main_win;
-GtkType gnome_cmd_main_win_get_type (void);
+GtkType gnome_cmd_main_win_get_type ();
-GtkWidget *gnome_cmd_main_win_new (void);
+GtkWidget *gnome_cmd_main_win_new ();
GnomeCmdFileSelector *gnome_cmd_main_win_get_fs (GnomeCmdMainWin *mw, FileSelectorID fs);
gboolean gnome_cmd_main_win_is_fs_active (GnomeCmdMainWin *mw, FileSelectorID fs);
Modified: branches/gcmd-1-3/src/gnome-cmd-make-copy-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-make-copy-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-make-copy-dialog.h Fri Sep 26 17:09:35 2008
@@ -51,6 +51,6 @@
GtkWidget *gnome_cmd_make_copy_dialog_new (GnomeCmdFile *finfo, GnomeCmdDir *dir);
-GtkType gnome_cmd_make_copy_dialog_get_type (void);
+GtkType gnome_cmd_make_copy_dialog_get_type ();
#endif // __GNOME_CMD_MAKE_COPY_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-mkdir-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-mkdir-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-mkdir-dialog.h Fri Sep 26 17:09:35 2008
@@ -54,6 +54,6 @@
gnome_cmd_mkdir_dialog_new (GnomeCmdDir *dir);
GtkType
-gnome_cmd_mkdir_dialog_get_type (void);
+gnome_cmd_mkdir_dialog_get_type ();
#endif // __GNOME_CMD_MKDIR_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-options-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-options-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-options-dialog.h Fri Sep 26 17:09:35 2008
@@ -57,7 +57,7 @@
};
-GtkType gnome_cmd_options_dialog_get_type (void);
-GtkWidget *gnome_cmd_options_dialog_new (void);
+GtkType gnome_cmd_options_dialog_get_type ();
+GtkWidget *gnome_cmd_options_dialog_new ();
#endif // __GNOME_CMD_OPTIONS_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-path.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-path.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-path.h Fri Sep 26 17:09:35 2008
@@ -50,7 +50,7 @@
};
-GtkType gnome_cmd_path_get_type (void);
+GtkType gnome_cmd_path_get_type ();
const gchar *gnome_cmd_path_get_path (GnomeCmdPath *path);
Modified: branches/gcmd-1-3/src/gnome-cmd-patternsel-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-patternsel-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-patternsel-dialog.h Fri Sep 26 17:09:35 2008
@@ -53,6 +53,6 @@
gnome_cmd_patternsel_dialog_new (GnomeCmdFileList *fl, gboolean mode);
GtkType
-gnome_cmd_patternsel_dialog_get_type (void);
+gnome_cmd_patternsel_dialog_get_type ();
#endif // __GNOME_CMD_PATTERNSEL_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-plain-path.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-plain-path.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-plain-path.h Fri Sep 26 17:09:35 2008
@@ -50,7 +50,7 @@
};
-GtkType gnome_cmd_plain_path_get_type (void);
+GtkType gnome_cmd_plain_path_get_type ();
GnomeCmdPath *gnome_cmd_plain_path_new (const gchar *path);
Modified: branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.h Fri Sep 26 17:09:35 2008
@@ -70,6 +70,6 @@
GnomeCmdFileSelector *to);
GtkType
-gnome_cmd_prepare_xfer_dialog_get_type (void);
+gnome_cmd_prepare_xfer_dialog_get_type ();
#endif // __GNOME_CMD_PREPARE_XFER_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-quicksearch-popup.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-quicksearch-popup.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-quicksearch-popup.h Fri Sep 26 17:09:35 2008
@@ -54,10 +54,8 @@
};
-GtkType
-gnome_cmd_quicksearch_popup_get_type (void);
+GtkType gnome_cmd_quicksearch_popup_get_type ();
-GtkWidget*
-gnome_cmd_quicksearch_popup_new (GnomeCmdFileList *fl);
+GtkWidget *gnome_cmd_quicksearch_popup_new (GnomeCmdFileList *fl);
#endif // __GNOME_CMD_QUICKSEARCH_POPUP_TYPES_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-remote-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-remote-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-remote-dialog.h Fri Sep 26 17:09:35 2008
@@ -45,10 +45,10 @@
};
-GtkType gnome_cmd_remote_dialog_get_type (void);
+GtkType gnome_cmd_remote_dialog_get_type ();
-GtkWidget *gnome_cmd_remote_dialog_new (void);
+GtkWidget *gnome_cmd_remote_dialog_new ();
-void show_quick_connect_dialog (void);
+void show_quick_connect_dialog ();
#endif // __GNOME_CMD_REMOTE_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-rename-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-rename-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-rename-dialog.h Fri Sep 26 17:09:35 2008
@@ -54,6 +54,6 @@
gnome_cmd_rename_dialog_new (GnomeCmdFile *finfo, gint x, gint y, gint width, gint height);
GtkType
-gnome_cmd_rename_dialog_get_type (void);
+gnome_cmd_rename_dialog_get_type ();
#endif // __GNOME_CMD_RENAME_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-search-dialog.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-search-dialog.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-search-dialog.h Fri Sep 26 17:09:35 2008
@@ -51,10 +51,8 @@
};
-GtkType
-gnome_cmd_search_dialog_get_type (void);
+GtkType gnome_cmd_search_dialog_get_type ();
-GtkWidget*
-gnome_cmd_search_dialog_new (GnomeCmdDir *default_dir);
+GtkWidget *gnome_cmd_search_dialog_new (GnomeCmdDir *default_dir);
#endif // __GNOME_CMD_SEARCH_DIALOG_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-smb-auth.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-smb-auth.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-smb-auth.h Fri Sep 26 17:09:35 2008
@@ -21,6 +21,6 @@
#ifndef __GNOME_CMD_SMB_AUTH_H__
#define __GNOME_CMD_SMB_AUTH_H__
-void gnome_cmd_smb_auth_init (void);
+void gnome_cmd_smb_auth_init ();
#endif // __GNOME_CMD_SMB_AUTH_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-smb-path.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-smb-path.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-smb-path.h Fri Sep 26 17:09:35 2008
@@ -53,7 +53,7 @@
};
-GtkType gnome_cmd_smb_path_get_type (void);
+GtkType gnome_cmd_smb_path_get_type ();
GnomeCmdPath *gnome_cmd_smb_path_new (const gchar *workgroup, const gchar *resource, const gchar *path);
GnomeCmdPath *gnome_cmd_smb_path_new_from_str (const gchar *path_str);
Modified: branches/gcmd-1-3/src/gnome-cmd-style.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-style.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-style.h Fri Sep 26 17:09:35 2008
@@ -23,6 +23,6 @@
extern GtkStyle *list_style, *sel_list_style;
-void gnome_cmd_style_create (void);
+void gnome_cmd_style_create ();
#endif // __GNOME_CMD_STYLE_H__
Modified: branches/gcmd-1-3/src/gnome-cmd-xfer-progress-win.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-xfer-progress-win.h (original)
+++ branches/gcmd-1-3/src/gnome-cmd-xfer-progress-win.h Fri Sep 26 17:09:35 2008
@@ -55,7 +55,7 @@
GtkWidget *gnome_cmd_xfer_progress_win_new (guint no_of_files=0);
-GtkType gnome_cmd_xfer_progress_win_get_type (void);
+GtkType gnome_cmd_xfer_progress_win_get_type ();
void gnome_cmd_xfer_progress_win_set_total_progress (GnomeCmdXferProgressWin *win,
GnomeVFSFileSize file_bytes_copied,
Modified: branches/gcmd-1-3/src/imageloader.h
==============================================================================
--- branches/gcmd-1-3/src/imageloader.h (original)
+++ branches/gcmd-1-3/src/imageloader.h Fri Sep 26 17:09:35 2008
@@ -51,8 +51,8 @@
} Pixmap;
-void IMAGE_init (void);
-void IMAGE_free (void);
+void IMAGE_init ();
+void IMAGE_free ();
GdkPixmap *IMAGE_get_pixmap (Pixmap pixmap_id);
GdkBitmap *IMAGE_get_mask (Pixmap pixmap_id);
@@ -65,6 +65,6 @@
GdkPixmap **pixmap,
GdkBitmap **mask);
-void IMAGE_clear_mime_cache (void);
+void IMAGE_clear_mime_cache ();
#endif // __IMAGELOADER_H__
Modified: branches/gcmd-1-3/src/intviewer/image-render.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/image-render.h (original)
+++ branches/gcmd-1-3/src/intviewer/image-render.h Fri Sep 26 17:09:35 2008
@@ -67,8 +67,8 @@
FLIP_HORIZONTAL
} IMAGEOPERATION;
-GtkWidget *image_render_new (void);
-GtkType image_render_get_type (void);
+GtkWidget *image_render_new ();
+GtkType image_render_get_type ();
GtkAdjustment *image_render_get_h_adjustment (ImageRender *obj);
void image_render_set_h_adjustment (ImageRender *obj, GtkAdjustment *adjustment);
Modified: branches/gcmd-1-3/src/intviewer/scroll-box.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/scroll-box.h (original)
+++ branches/gcmd-1-3/src/intviewer/scroll-box.h Fri Sep 26 17:09:35 2008
@@ -44,8 +44,8 @@
GtkTableClass parent_class;
};
-GtkWidget *scroll_box_new (void);
-GtkType scroll_box_get_type (void);
+GtkWidget *scroll_box_new ();
+GtkType scroll_box_get_type ();
void scroll_box_set_client (ScrollBox *obj, GtkWidget *client);
GtkWidget *scroll_box_get_client (ScrollBox *obj);
Modified: branches/gcmd-1-3/src/intviewer/search-dlg.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/search-dlg.h (original)
+++ branches/gcmd-1-3/src/intviewer/search-dlg.h Fri Sep 26 17:09:35 2008
@@ -50,7 +50,7 @@
GtkDialogClass parent_class;
};
-GType gviewer_search_dlg_get_type (void);
+GType gviewer_search_dlg_get_type ();
GtkWidget *gviewer_search_dlg_new (GtkWindow *parent);
Modified: branches/gcmd-1-3/src/intviewer/search-progress-dlg.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/search-progress-dlg.h (original)
+++ branches/gcmd-1-3/src/intviewer/search-progress-dlg.h Fri Sep 26 17:09:35 2008
@@ -45,7 +45,7 @@
GtkDialogClass parent_class;
};
-GType gviewer_search_progress_dlg_get_type (void);
+GType gviewer_search_progress_dlg_get_type ();
void gviewer_show_search_progress_dlg(GtkWindow *parent,
const gchar *searching_text,
Modified: branches/gcmd-1-3/src/intviewer/text-render.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/text-render.h (original)
+++ branches/gcmd-1-3/src/intviewer/text-render.h Fri Sep 26 17:09:35 2008
@@ -65,8 +65,8 @@
};
-GtkWidget *text_render_new (void);
-GtkType text_render_get_type (void);
+GtkWidget *text_render_new ();
+GtkType text_render_get_type ();
GtkAdjustment *text_render_get_h_adjustment (TextRender *obj);
void text_render_set_h_adjustment (TextRender *obj, GtkAdjustment *adjustment);
Modified: branches/gcmd-1-3/src/intviewer/viewer-widget.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/viewer-widget.h (original)
+++ branches/gcmd-1-3/src/intviewer/viewer-widget.h Fri Sep 26 17:09:35 2008
@@ -52,8 +52,8 @@
void (*status_line_changed) (GViewer *obj, const gchar *statusline);
};
-GtkWidget *gviewer_new (void);
-GtkType gviewer_get_type (void);
+GtkWidget *gviewer_new ();
+GtkType gviewer_get_type ();
void gviewer_set_client (GViewer *obj, GtkWidget *client);
GtkWidget *gviewer_get_client (GViewer *obj);
Modified: branches/gcmd-1-3/src/intviewer/viewer-window.h
==============================================================================
--- branches/gcmd-1-3/src/intviewer/viewer-window.h (original)
+++ branches/gcmd-1-3/src/intviewer/viewer-window.h Fri Sep 26 17:09:35 2008
@@ -68,14 +68,11 @@
};
-GtkType
-gviewer_window_get_type (void);
+GtkType gviewer_window_get_type ();
-GtkWidget*
-gviewer_window_new (GViewerWindowSettings *initial_settings);
+GtkWidget *gviewer_window_new (GViewerWindowSettings *initial_settings);
-void
-gviewer_window_load_file (GViewerWindow *obj, const gchar *filename);
+void gviewer_window_load_file (GViewerWindow *obj, const gchar *filename);
GtkWidget *gviewer_window_file_view (const gchar * filename, GViewerWindowSettings *initial_settings);
Modified: branches/gcmd-1-3/src/ls_colors.h
==============================================================================
--- branches/gcmd-1-3/src/ls_colors.h (original)
+++ branches/gcmd-1-3/src/ls_colors.h Fri Sep 26 17:09:35 2008
@@ -30,7 +30,7 @@
GdkColor *fg, *bg;
} LsColor;
-void ls_colors_init (void);
+void ls_colors_init ();
LsColor *ls_colors_get (GnomeCmdFile *finfo);
#endif // __LS_COLORS_H__
Modified: branches/gcmd-1-3/src/owner.h
==============================================================================
--- branches/gcmd-1-3/src/owner.h (original)
+++ branches/gcmd-1-3/src/owner.h Fri Sep 26 17:09:35 2008
@@ -48,15 +48,15 @@
GList *groups;
} user_t;
-void OWNER_init (void);
-void OWNER_free (void);
-user_t *OWNER_get_program_user (void);
+void OWNER_init ();
+void OWNER_free ();
+user_t *OWNER_get_program_user ();
user_t *OWNER_get_user_by_uid (uid_t uid);
group_t *OWNER_get_group_by_gid (gid_t gid);
user_t *OWNER_get_user_by_name (const char *name);
group_t *OWNER_get_group_by_name (const char *name);
-GList *OWNER_get_all_users (void);
-GList *OWNER_get_all_groups (void);
+GList *OWNER_get_all_users ();
+GList *OWNER_get_all_groups ();
const gchar *OWNER_get_name_by_uid (uid_t uid);
const gchar *OWNER_get_name_by_gid (gid_t gid);
uid_t OWNER_get_uid_by_name (const gchar *name);
Modified: branches/gcmd-1-3/src/plugin_manager.h
==============================================================================
--- branches/gcmd-1-3/src/plugin_manager.h (original)
+++ branches/gcmd-1-3/src/plugin_manager.h Fri Sep 26 17:09:35 2008
@@ -37,9 +37,9 @@
};
-void plugin_manager_init (void);
-void plugin_manager_shutdown (void);
-GList *plugin_manager_get_all (void);
-void plugin_manager_show (void);
+void plugin_manager_init ();
+void plugin_manager_shutdown ();
+GList *plugin_manager_get_all ();
+void plugin_manager_show ();
#endif // __PLUGIN_MANAGER_H__
Modified: branches/gcmd-1-3/src/utils.h
==============================================================================
--- branches/gcmd-1-3/src/utils.h (original)
+++ branches/gcmd-1-3/src/utils.h Fri Sep 26 17:09:35 2008
@@ -185,14 +185,14 @@
gdk_window_set_cursor (widget->window, NULL);
}
-void set_cursor_busy (void);
-void set_cursor_default (void);
+void set_cursor_busy ();
+void set_cursor_default ();
GList *app_get_linked_libs (GnomeCmdFile *finfo);
gboolean app_needs_terminal (GnomeCmdFile *finfo);
gchar *get_temp_download_filepath (const gchar *fname);
-void remove_temp_download_dir (void);
+void remove_temp_download_dir ();
GtkWidget *create_ui_pixmap (GtkWidget *window,
GnomeUIPixmapType pixmap_type,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]