forked from AuroraMiddleware/gtk
Don't leak the PangoFontDescriptor.
2001-01-22 <alexl@redhat.com> * gtk/gtkwindow-decorate.c (gtk_decorated_window_realize): Don't leak the PangoFontDescriptor.
This commit is contained in:
parent
8c9eb8b6a0
commit
18cb3ee139
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-22 <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_realize):
|
||||
Don't leak the PangoFontDescriptor.
|
||||
|
||||
Sun Jan 21 09:58:00 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_point): Make fail
|
||||
|
@ -255,12 +255,14 @@ gtk_decorated_window_realize (GtkWindow *window)
|
||||
{
|
||||
GtkWindowDecoration *deco = get_decoration (window);
|
||||
GtkWidget *widget = GTK_WIDGET (window);
|
||||
PangoFontDescription *font_desc;
|
||||
|
||||
deco->title_layout = gtk_widget_create_pango_layout (widget,
|
||||
(window->title)?window->title:"");
|
||||
|
||||
pango_layout_set_font_description (deco->title_layout,
|
||||
pango_font_description_from_string(DECORATION_TITLE_FONT));
|
||||
|
||||
font_desc = pango_font_description_from_string(DECORATION_TITLE_FONT);
|
||||
pango_layout_set_font_description (deco->title_layout, font_desc);
|
||||
pango_font_description_free (font_desc);
|
||||
|
||||
gdk_fb_window_set_child_handler (window->frame,
|
||||
gtk_decorated_window_inner_change,
|
||||
@ -674,7 +676,7 @@ gtk_decorated_window_move_resize_window (GtkWindow *window,
|
||||
GtkWindowDecoration *deco = get_decoration (window);
|
||||
|
||||
deco->real_inner_move = TRUE;
|
||||
gdk_window_move_resize (GTK_WIDGET (window)->window,
|
||||
gdk_window_move_resize (widget->window,
|
||||
x, y, width, height);
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user