From 558280660418ef9e27e36ddd0619225c691e44b7 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 25 Oct 2012 18:34:52 +0200 Subject: [all] silence warnings from GCC 4.6 GCC 4.6 introduced a new warning about variables declared and initialized, but not really used in the function body. Remove all of these occurrences to build cleanly. http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5 --- src/caja-navigation-window.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/caja-navigation-window.c') diff --git a/src/caja-navigation-window.c b/src/caja-navigation-window.c index e5622af7..4b03a865 100644 --- a/src/caja-navigation-window.c +++ b/src/caja-navigation-window.c @@ -509,16 +509,6 @@ caja_navigation_window_tear_down_sidebar (CajaNavigationWindow *window) window->sidebar = NULL; } -static void -caja_navigation_window_unrealize (GtkWidget *widget) -{ - CajaNavigationWindow *window; - - window = CAJA_NAVIGATION_WINDOW (widget); - - GTK_WIDGET_CLASS (parent_class)->unrealize (widget); -} - static gboolean caja_navigation_window_state_event (GtkWidget *widget, GdkEventWindowState *event) @@ -759,14 +749,11 @@ static void real_sync_title (CajaWindow *window, CajaWindowSlot *slot) { - CajaNavigationWindow *navigation_window; CajaNavigationWindowPane *pane; CajaNotebook *notebook; char *full_title; char *window_title; - navigation_window = CAJA_NAVIGATION_WINDOW (window); - EEL_CALL_PARENT (CAJA_WINDOW_CLASS, sync_title, (window, slot)); @@ -1265,7 +1252,6 @@ caja_navigation_window_class_init (CajaNavigationWindowClass *class) GTK_OBJECT_CLASS (class)->destroy = caja_navigation_window_destroy; #endif GTK_WIDGET_CLASS (class)->show = caja_navigation_window_show; - GTK_WIDGET_CLASS (class)->unrealize = caja_navigation_window_unrealize; GTK_WIDGET_CLASS (class)->window_state_event = caja_navigation_window_state_event; GTK_WIDGET_CLASS (class)->key_press_event = caja_navigation_window_key_press_event; GTK_WIDGET_CLASS (class)->button_press_event = caja_navigation_window_button_press_event; -- cgit v1.2.1