Only get the indicator-size and indicator-spacing style properties for
2006-08-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstyle.c (option_menu_get_props): Only get the indicator-size and indicator-spacing style properties for GtkOptionMenu. (#349859, Benjamin Otte)
This commit is contained in:
committed by
Matthias Clasen
parent
65d844f074
commit
97f4c323eb
@ -1,5 +1,9 @@
|
|||||||
2006-08-06 Matthias Clasen <mclasen@redhat.com>
|
2006-08-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (option_menu_get_props): Only get the
|
||||||
|
indicator-size and indicator-spacing style properties
|
||||||
|
for GtkOptionMenu. (#349859, Benjamin Otte)
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines)
|
* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines)
|
||||||
(gtk_tree_view_set_enable_tree_lines): Be more careful
|
(gtk_tree_view_set_enable_tree_lines): Be more careful
|
||||||
when creating gcs, also emit change notification.
|
when creating gcs, also emit change notification.
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
2006-08-06 Matthias Clasen <mclasen@redhat.com>
|
2006-08-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (option_menu_get_props): Only get the
|
||||||
|
indicator-size and indicator-spacing style properties
|
||||||
|
for GtkOptionMenu. (#349859, Benjamin Otte)
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines)
|
* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines)
|
||||||
(gtk_tree_view_set_enable_tree_lines): Be more careful
|
(gtk_tree_view_set_enable_tree_lines): Be more careful
|
||||||
when creating gcs, also emit change notification.
|
when creating gcs, also emit change notification.
|
||||||
|
|||||||
@ -30,6 +30,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gtkgc.h"
|
#include "gtkgc.h"
|
||||||
#include "gtkmarshalers.h"
|
#include "gtkmarshalers.h"
|
||||||
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
|
#include "gtkoptionmenu.h"
|
||||||
|
#define GTK_DISABLE_DEPRECATED
|
||||||
#include "gtkrc.h"
|
#include "gtkrc.h"
|
||||||
#include "gtkspinbutton.h"
|
#include "gtkspinbutton.h"
|
||||||
#include "gtkstyle.h"
|
#include "gtkstyle.h"
|
||||||
@ -3221,7 +3224,7 @@ option_menu_get_props (GtkWidget *widget,
|
|||||||
GtkRequisition *tmp_size = NULL;
|
GtkRequisition *tmp_size = NULL;
|
||||||
GtkBorder *tmp_spacing = NULL;
|
GtkBorder *tmp_spacing = NULL;
|
||||||
|
|
||||||
if (widget)
|
if (GTK_IS_OPTION_MENU (widget))
|
||||||
gtk_widget_style_get (widget,
|
gtk_widget_style_get (widget,
|
||||||
"indicator-size", &tmp_size,
|
"indicator-size", &tmp_size,
|
||||||
"indicator-spacing", &tmp_spacing,
|
"indicator-spacing", &tmp_spacing,
|
||||||
|
|||||||
Reference in New Issue
Block a user