[Xfce4-commits] <squeeze:master> Compiles with --enable-debug=full
Peter de Ridder
noreply at xfce.org
Thu Dec 22 23:00:11 CET 2011
Updating branch refs/heads/master
to 411ec7293971367a99476ecb1f23437ebd07bc60 (commit)
from e4df1b6da23e3ebd7bdf26ce71d8e42105291a2b (commit)
commit 411ec7293971367a99476ecb1f23437ebd07bc60
Author: Peter de Ridder <peter at xfce.org>
Date: Thu Dec 22 22:56:52 2011 +0100
Compiles with --enable-debug=full
libsqueeze/datetime.c | 1 +
src/main_window.c | 7 -------
src/new_dialog.c | 2 ++
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/libsqueeze/datetime.c b/libsqueeze/datetime.c
index 1a120c7..9e3ad78 100644
--- a/libsqueeze/datetime.c
+++ b/libsqueeze/datetime.c
@@ -172,6 +172,7 @@ lsq_datetime_register_type ( void )
/* Force lsq_datetime_get_type to get called, and not optimized by G_GNUC_CONST */
volatile GType type;
type = lsq_datetime_get_type();
+ type;
}
LSQDateTime
diff --git a/src/main_window.c b/src/main_window.c
index 1b95e0d..72bcc15 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -271,7 +271,6 @@ sq_main_window_init(SQMainWindow *window)
GtkWidget *tmp_image;
const gchar *nav_bar;
GSList *list, *iter;
- gboolean up_dir = TRUE;
gboolean use_tabs = TRUE;
gboolean show_menubar = TRUE;
GtkWidget *item;
@@ -486,14 +485,12 @@ sq_main_window_init(SQMainWindow *window)
nav_bar = sq_settings_read_entry(window->settings, "NavigationBar", "None");
window->nav_style = SQ_MAIN_WINDOW_NAVIGATION_INTERNAL;
window->navigationbar = NULL;
- up_dir = TRUE;
#ifdef ENABLE_TOOLBAR
if(!strcmp(nav_bar, "ToolBar"))
{
window->nav_style = SQ_MAIN_WINDOW_NAVIGATION_TOOL_BAR;
window->navigationbar = sq_tool_bar_new(NULL);
- up_dir = FALSE;
}
#endif
#ifdef ENABLE_PATHBAR
@@ -502,7 +499,6 @@ sq_main_window_init(SQMainWindow *window)
window->nav_style = SQ_MAIN_WINDOW_NAVIGATION_PATH_BAR;
window->navigationbar = sq_path_bar_new(NULL);
gtk_container_set_border_width(GTK_CONTAINER(window->navigationbar), 3);
- up_dir = FALSE;
}
#endif
@@ -1350,7 +1346,6 @@ static void
sq_main_window_set_navigation(SQMainWindow *window)
{
SQNavigationBar *nav_bar = NULL;
- gboolean up_dir = TRUE;
switch(window->nav_style)
{
@@ -1359,13 +1354,11 @@ sq_main_window_set_navigation(SQMainWindow *window)
#ifdef ENABLE_TOOLBAR
case SQ_MAIN_WINDOW_NAVIGATION_TOOL_BAR:
nav_bar = sq_tool_bar_new(NULL);
- up_dir = FALSE;
break;
#endif
#ifdef ENABLE_PATHBAR
case SQ_MAIN_WINDOW_NAVIGATION_PATH_BAR:
nav_bar = sq_path_bar_new(NULL);
- up_dir = FALSE;
break;
#endif
default:
diff --git a/src/new_dialog.c b/src/new_dialog.c
index 13624bc..d1e1205 100644
--- a/src/new_dialog.c
+++ b/src/new_dialog.c
@@ -123,6 +123,7 @@ sq_new_archive_dialog_get_file(SQNewArchiveDialog *dialog)
if (file)
{
+ /*
const gchar *mime_type = ""; //lsq_mime_support_get_name(((LSQMimeSupport *)_supported_mime_types->data));
gchar *suffix = NULL;
gint i;
@@ -146,6 +147,7 @@ sq_new_archive_dialog_get_file(SQNewArchiveDialog *dialog)
if(!strcmp(mime_type, "application/x-bzip")) suffix = ".bz2";
if(!strcmp(mime_type, "application/x-lzop")) suffix = ".lzo";
if(!strcmp(mime_type, "application/x-compress")) suffix = ".Z";
+ */
}
return file;
}
More information about the Xfce4-commits
mailing list