forked from AuroraMiddleware/gtk
use gtk_box_pack_start() instead of the deprecated
2008-07-21 Michael Natterer <mitch@imendio.com> * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of the deprecated gtk_box_pack_start_defaults(). * gtk/gtkbindings.c (gtk_binding_entry_add_signal) (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall() instead of the deprecated gtk_binding_entry_add_signall(). svn path=/trunk/; revision=20885
This commit is contained in:
parent
1db0192042
commit
8a1bdcbe4a
@ -1,3 +1,12 @@
|
||||
2008-07-21 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
|
||||
the deprecated gtk_box_pack_start_defaults().
|
||||
|
||||
* gtk/gtkbindings.c (gtk_binding_entry_add_signal)
|
||||
(gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
|
||||
instead of the deprecated gtk_binding_entry_add_signall().
|
||||
|
||||
2008-07-21 Emmanuele Bassi <ebassi@gnome.org>
|
||||
|
||||
* gtk/gtkrecentmanager.c:
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <gdkkeysyms.h>
|
||||
|
||||
#include "gtkbindings.h"
|
||||
#include "gtkkeyhash.h"
|
||||
#include "gtkwidget.h"
|
||||
@ -958,7 +959,7 @@ gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
|
||||
if (i == n_args || i == 0)
|
||||
{
|
||||
slist = g_slist_reverse (slist);
|
||||
gtk_binding_entry_add_signall (binding_set, keyval, modifiers, signal_name, slist);
|
||||
_gtk_binding_entry_add_signall (binding_set, keyval, modifiers, signal_name, slist);
|
||||
}
|
||||
|
||||
free_slist = slist;
|
||||
@ -1469,11 +1470,11 @@ gtk_binding_parse_signal (GScanner *scanner,
|
||||
if (!(need_arg && seen_comma) && !negate)
|
||||
{
|
||||
args = g_slist_reverse (args);
|
||||
gtk_binding_entry_add_signall (binding_set,
|
||||
keyval,
|
||||
modifiers,
|
||||
signal,
|
||||
args);
|
||||
_gtk_binding_entry_add_signall (binding_set,
|
||||
keyval,
|
||||
modifiers,
|
||||
signal,
|
||||
args);
|
||||
expected_token = G_TOKEN_NONE;
|
||||
}
|
||||
done = TRUE;
|
||||
|
@ -723,7 +723,7 @@ static void
|
||||
gtk_box_add (GtkContainer *container,
|
||||
GtkWidget *widget)
|
||||
{
|
||||
gtk_box_pack_start_defaults (GTK_BOX (container), widget);
|
||||
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user