Return if fontsel->font_index == -1 - that is, if no font is selected.
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return if fontsel->font_index == -1 - that is, if no font is selected. (Should fix #50290)
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Mon Jan 29 16:34:28 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_select_best_size): Return
|
||||
if fontsel->font_index == -1 - that is, if no font is selected.
|
||||
(Should fix #50290)
|
||||
|
||||
Mon Jan 29 15:22:51 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_remove): When removing an
|
||||
|
||||
@@ -1560,10 +1560,14 @@ gtk_font_selection_select_best_size(GtkFontSelection *fontsel)
|
||||
gchar buffer[32];
|
||||
GList *selection;
|
||||
gint type_filter;
|
||||
|
||||
|
||||
#ifdef FONTSEL_DEBUG
|
||||
g_message("In select_best_size\n");
|
||||
#endif
|
||||
|
||||
if (fontsel->font_index == -1)
|
||||
return;
|
||||
|
||||
font = &fontsel_info->font_info[fontsel->font_index];
|
||||
styles = &fontsel_info->font_styles[font->style_index];
|
||||
style = &styles[fontsel->style];
|
||||
|
||||
Reference in New Issue
Block a user