Kaydet (Commit) 617cdee7 authored tarafından Enrico Tröger's avatar Enrico Tröger

Encourage single header includes as it is necessary with GTK 2.14+.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2790 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 4f54b68b
......@@ -9,6 +9,10 @@
src/tools.c, src/treeviews.c, src/ui_utils.c, src/vte.c:
Rename "delete_event" to "delete-event".
Remove some unnecessary GObject casts in g_signal_connect() calls.
* src/geanywraplabel.c:
Remove unnecessary finalize() function.
* plugins/classbuilder.c:
Encourage single header includes as it is necessary with GTK 2.14+.
2008-07-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -557,7 +557,9 @@ static void cc_dlg_on_base_name_entry_changed(GtkWidget *entry, CreateClassDialo
base_name_splitted = str_case_split(gtk_entry_get_text(GTK_ENTRY(entry)), '_');
if (! g_ascii_strncasecmp(gtk_entry_get_text(GTK_ENTRY(entry)), "gtk", 3))
tmp = g_strconcat("gtk/", gtk_entry_get_text(GTK_ENTRY(entry)), ".h", NULL);
/*tmp = g_strconcat("gtk/", gtk_entry_get_text(GTK_ENTRY(entry)), ".h", NULL);*/
/* With GTK 2.14 (and later GTK 3), single header includes are encouraged */
tmp = g_strdup("gtk/gtk.h");
else if (p_utils->str_equal(gtk_entry_get_text(GTK_ENTRY(entry)), "GObject"))
tmp = g_strdup("glib-object.h");
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment