Fixes "notification area leaks space" (bug #312687)

2005-08-09  Mark McLoughlin  <mark@skynet.ie>

        Fixes "notification area leaks space" (bug #312687)

        * gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
          gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a
        detail to g_signal_emit_by_name()
This commit is contained in:
Mark McLoughlin 2005-08-09 16:30:09 +00:00 committed by Mark McLoughlin
parent df33513a90
commit 00cc060921
5 changed files with 26 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2005-08-09 Mark McLoughlin <mark@skynet.ie>
Fixes "notification area leaks space" (bug #312687)
* gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a
detail to g_signal_emit_by_name()
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -1,3 +1,11 @@
2005-08-09 Mark McLoughlin <mark@skynet.ie>
Fixes "notification area leaks space" (bug #312687)
* gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a
detail to g_signal_emit_by_name()
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -1,3 +1,11 @@
2005-08-09 Mark McLoughlin <mark@skynet.ie>
Fixes "notification area leaks space" (bug #312687)
* gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a
detail to g_signal_emit_by_name()
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -254,7 +254,7 @@ _gtk_plug_add_to_socket (GtkPlug *plug,
gtk_widget_set_parent (widget, GTK_WIDGET (socket));
g_signal_emit_by_name (socket, "plug_added", 0);
g_signal_emit_by_name (socket, "plug_added");
}
/**

View File

@ -494,7 +494,7 @@ _gtk_socket_windowing_filter_func (GdkXEvent *gdk_xevent,
_gtk_socket_end_embedding (socket);
g_object_ref (widget);
g_signal_emit_by_name (widget, "plug_removed", 0, &result);
g_signal_emit_by_name (widget, "plug_removed", &result);
if (!result)
gtk_widget_destroy (widget);
g_object_unref (widget);