Lines 1916-1926
cc_applications_panel_class_init (CcApplicationsPanelClass *klass)
Link Here
|
1916 |
static void |
1916 |
static void |
1917 |
cc_applications_panel_init (CcApplicationsPanel *self) |
1917 |
cc_applications_panel_init (CcApplicationsPanel *self) |
1918 |
{ |
1918 |
{ |
|
|
1919 |
volatile GType type G_GNUC_UNUSED; |
1919 |
g_autoptr(GtkStyleProvider) provider = NULL; |
1920 |
g_autoptr(GtkStyleProvider) provider = NULL; |
1920 |
GtkListBoxRow *row; |
1921 |
GtkListBoxRow *row; |
1921 |
|
1922 |
|
1922 |
g_resources_register (cc_applications_get_resource ()); |
1923 |
g_resources_register (cc_applications_get_resource ()); |
1923 |
|
1924 |
|
|
|
1925 |
/* register types that the builder might need */ |
1926 |
type = cc_toggle_row_get_type (); |
1927 |
|
1924 |
gtk_widget_init_template (GTK_WIDGET (self)); |
1928 |
gtk_widget_init_template (GTK_WIDGET (self)); |
1925 |
|
1929 |
|
1926 |
provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ()); |
1930 |
provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ()); |
1927 |
- |
|
|