Remove references to GtkVBox GtkHBox

- All the widgets were already changed to GtkBox
- Also, fix the variable type in gnucash-date-picker.c
This commit is contained in:
Richard Cohen 2023-03-22 22:57:13 +00:00
parent e41c06dead
commit 02f09330e2
3 changed files with 5 additions and 7 deletions

View File

@ -103,7 +103,7 @@ struct _GncDenseCal
struct _GncDenseCalClass
{
GtkVBoxClass parent_class;
GtkBoxClass parent_class;
};
typedef struct _gdc_mark_data

View File

@ -3016,7 +3016,7 @@ gnc_main_window_engine_commit_error_callback( gpointer data,
*
* @param tab_hbox The widget that should be added into the notebook
* tab for this page. Generally this is a GtkLabel, but could also
* be a GtkHBox containing an icon and a label.
* be a GtkBox containing an icon and a label.
*
* @param menu_label The widget that should be added into the
* notebook popup menu for this page. This should be a GtkLabel.

View File

@ -37,7 +37,7 @@ enum
LAST_SIGNAL
};
static GtkHBox *gnc_date_picker_parent_class;
static GtkBoxClass *gnc_date_picker_parent_class;
static guint gnc_date_picker_signals[LAST_SIGNAL];
@ -118,12 +118,10 @@ gnc_date_picker_key_event(GtkWidget *widget, GdkEventKey *event, gpointer data)
static void
gnc_date_picker_class_init (GNCDatePickerClass *date_picker_class)
{
GObjectClass *object_class;
gnc_date_picker_parent_class =
g_type_class_peek_parent (date_picker_class);
GTK_BOX_CLASS (g_type_class_peek_parent (date_picker_class));
object_class = G_OBJECT_CLASS (date_picker_class);
GObjectClass *object_class = G_OBJECT_CLASS (date_picker_class);
gtk_widget_class_set_css_name (GTK_WIDGET_CLASS(date_picker_class), "gnc-id-date-picker");