diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-02-22 19:09:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-02-22 19:09:36 (GMT) |
commit | 08f3cc8d6262c9b5412a008c6210e88cd840da85 (patch) | |
tree | 087e1de61979402b712068603fd5ceb4ec332f70 /src/gui/panels | |
parent | b639c1f4abca32152bf88f8fd47a9cd114da701b (diff) |
Fixed a few GLib/GTK compilation warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@477 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels')
-rw-r--r-- | src/gui/panels/bookmarks.c | 1 | ||||
-rw-r--r-- | src/gui/panels/regedit.c | 1 | ||||
-rw-r--r-- | src/gui/panels/symbols.c | 1 | ||||
-rw-r--r-- | src/gui/panels/welcome.c | 8 |
4 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c index 7397ef5..99c1673 100644 --- a/src/gui/panels/bookmarks.c +++ b/src/gui/panels/bookmarks.c @@ -277,7 +277,6 @@ static void g_bookmarks_panel_init(GBookmarksPanel *panel) CAIRO_GOBJECT_TYPE_SURFACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store)); - gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview), TRUE); panel->treeview = GTK_TREE_VIEW(treeview); g_signal_connect(G_OBJECT(treeview), "button-press-event", diff --git a/src/gui/panels/regedit.c b/src/gui/panels/regedit.c index 3819e64..3145385 100644 --- a/src/gui/panels/regedit.c +++ b/src/gui/panels/regedit.c @@ -250,7 +250,6 @@ static void g_regedit_panel_init(GRegeditPanel *panel) G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store)); - gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview), TRUE); panel->treeview = GTK_TREE_VIEW(treeview); g_signal_connect(G_OBJECT(treeview), "button-press-event", diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c index 40f1f76..7be9749 100644 --- a/src/gui/panels/symbols.c +++ b/src/gui/panels/symbols.c @@ -323,7 +323,6 @@ static void g_symbols_panel_init(GSymbolsPanel *panel) treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(panel->store)); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE); gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(treeview), TRUE); - gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview), TRUE); panel->treeview = GTK_TREE_VIEW(treeview); diff --git a/src/gui/panels/welcome.c b/src/gui/panels/welcome.c index 0f11b58..497e289 100644 --- a/src/gui/panels/welcome.c +++ b/src/gui/panels/welcome.c @@ -103,26 +103,20 @@ static void g_welcome_panel_class_init(GWelcomePanelClass *klass) static void g_welcome_panel_init(GWelcomePanel *panel) { - GtkWidget *support; /* Fond du panneau */ GtkWidget *align; /* Alignement centré */ gchar *filename; /* Chemin d'accès au fichier */ GtkWidget *image; /* Image chargée */ GEditorItem *base; /* Version basique d'instance */ - support = gtk_handle_box_new(); - //gtk_widget_modify_bg(support, GTK_STATE_NORMAL, &support->style->bg[GTK_STATE_NORMAL]); - gtk_widget_show(support); - align = gtk_alignment_new(0.5f, 0.5f, 0.0f, 0.0f); gtk_widget_show(align); - gtk_container_add(GTK_CONTAINER(support), align); filename = find_pixmap_file("welcome.png"); image = qck_create_image(NULL, NULL, filename); gtk_container_add(GTK_CONTAINER(align), image); base = G_EDITOR_ITEM(panel); - base->widget = support; + base->widget = align; } |