gnome-commander r2320 - trunk/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2320 - trunk/src
- Date: Thu, 27 Nov 2008 18:33:47 +0000 (UTC)
Author: epiotr
Date: Thu Nov 27 18:33:46 2008
New Revision: 2320
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2320&view=rev
Log:
Code cleanup
Modified:
trunk/src/gnome-cmd-advrename-dialog.cc
trunk/src/gnome-cmd-key-shortcuts-dialog.cc
trunk/src/gnome-cmd-main-menu.cc
Modified: trunk/src/gnome-cmd-advrename-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-advrename-dialog.cc (original)
+++ trunk/src/gnome-cmd-advrename-dialog.cc Thu Nov 27 18:33:46 2008
@@ -405,7 +405,7 @@
{
GtkItemFactoryEntry *items = g_try_new0 (GtkItemFactoryEntry, G_N_ELEMENTS(metatags));
- g_return_val_if_fail (items != NULL, NULL);
+ g_return_val_if_fail (items!=NULL, NULL);
for (guint i=0; i<G_N_ELEMENTS(metatags); ++i)
{
Modified: trunk/src/gnome-cmd-key-shortcuts-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-key-shortcuts-dialog.cc (original)
+++ trunk/src/gnome-cmd-key-shortcuts-dialog.cc Thu Nov 27 18:33:46 2008
@@ -38,17 +38,13 @@
#define GNOME_CMD_IS_KEY_SHORTCUTS_DIALOG(obj) (G_TYPE_INSTANCE_CHECK_TYPE ((obj), GNOME_CMD_TYPE_KEY_SHORTCUTS_DIALOG)
-typedef struct _GnomeCmdKeyShortcutsDialog GnomeCmdKeyShortcutsDialog;
-typedef struct _GnomeCmdKeyShortcutsDialogClass GnomeCmdKeyShortcutsDialogClass;
-
-
struct GnomeCmdKeyShortcutsDialogPrivate
{
GnomeCmdKeyShortcutsDialogPrivate();
};
-struct _GnomeCmdKeyShortcutsDialog
+struct GnomeCmdKeyShortcutsDialog
{
GtkDialog parent;
@@ -58,7 +54,7 @@
};
-struct _GnomeCmdKeyShortcutsDialogClass
+struct GnomeCmdKeyShortcutsDialogClass
{
GtkDialogClass parent_class;
};
@@ -69,7 +65,7 @@
}
-GnomeCmdUserActions *_GnomeCmdKeyShortcutsDialog::user_actions = NULL;
+GnomeCmdUserActions *GnomeCmdKeyShortcutsDialog::user_actions = NULL;
G_DEFINE_TYPE (GnomeCmdKeyShortcutsDialog, gnome_cmd_key_shortcuts_dialog, GTK_TYPE_DIALOG)
Modified: trunk/src/gnome-cmd-main-menu.cc
==============================================================================
--- trunk/src/gnome-cmd-main-menu.cc (original)
+++ trunk/src/gnome-cmd-main-menu.cc Thu Nov 27 18:33:46 2008
@@ -637,7 +637,7 @@
NULL
},
{
- MENU_TYPE_TOGGLEITEM, _("Show Commandline"), "", NULL,
+ MENU_TYPE_TOGGLEITEM, _("Show Command Line"), "", NULL,
(gpointer) view_cmdline, NULL,
GNOME_APP_PIXMAP_NONE, NULL,
NULL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]