summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-25 18:34:52 +0200
committerJasmine Hassan <[email protected]>2012-12-22 05:24:16 +0200
commit558280660418ef9e27e36ddd0619225c691e44b7 (patch)
tree0bc0a5f4383d989f02ae856d88451cd47203f83c /src/caja-navigation-window.c
parentab206cf53ff4380c63f031101c36b6bc0c7a8489 (diff)
downloadcaja-558280660418ef9e27e36ddd0619225c691e44b7.tar.bz2
caja-558280660418ef9e27e36ddd0619225c691e44b7.tar.xz
[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
Diffstat (limited to 'src/caja-navigation-window.c')
-rw-r--r--src/caja-navigation-window.c14
1 files changed, 0 insertions, 14 deletions
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;