[gnome-commander/gcmd-1-3] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander/gcmd-1-3] noop: code cleanup
- Date: Sat, 11 Jul 2009 21:16:23 +0000 (UTC)
commit d1f8f1000fb37dc4e32360fb5b1e6d4b9b463eb0
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Jul 11 23:15:25 2009 +0200
noop: code cleanup
src/gnome-cmd-main-win.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index ea93ad5..0476f7e 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -857,7 +857,7 @@ static void destroy (GtkObject *object)
if (main_win && main_win->priv && main_win->priv->key_snooper_id)
{
- gtk_key_snooper_remove(main_win->priv->key_snooper_id);
+ gtk_key_snooper_remove (main_win->priv->key_snooper_id);
main_win->priv->key_snooper_id = 0;
}
@@ -1005,7 +1005,7 @@ static void init (GnomeCmdMainWin *mw)
gtk_signal_connect (GTK_OBJECT (mw), "size-allocate", GTK_SIGNAL_FUNC (on_size_allocate), mw);
gtk_signal_connect (GTK_OBJECT (mw), "delete-event", GTK_SIGNAL_FUNC (on_delete_event), mw);
gtk_signal_connect (GTK_OBJECT (mw->priv->paned), "button-press-event", GTK_SIGNAL_FUNC (on_slide_button_press), mw);
- g_signal_connect (mw, "window-state-event", GTK_SIGNAL_FUNC (on_window_state_event), NULL);
+ g_signal_connect (mw, "window-state-event", G_CALLBACK (on_window_state_event), NULL);
g_signal_connect (terminal, "child-exited", G_CALLBACK (on_terminal_child_exited), mw);
g_signal_connect (terminal, "key-press-event", G_CALLBACK (on_terminal_key_pressed), mw);
@@ -1024,7 +1024,7 @@ static void init (GnomeCmdMainWin *mw)
gtk_window_add_accel_group (GTK_WINDOW (main_win), mw->priv->accel_group);
gnome_cmd_main_win_focus_file_lists (main_win);
- mw->priv->key_snooper_id = gtk_key_snooper_install ((GtkKeySnoopFunc) gnome_cmd_key_snooper, (gpointer) mw);
+ mw->priv->key_snooper_id = gtk_key_snooper_install ((GtkKeySnoopFunc) gnome_cmd_key_snooper, mw);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]