| 99 |
99 |
| 100 /****************************************************************************** |
100 /****************************************************************************** |
| 101 * Globals |
101 * Globals |
| 102 *****************************************************************************/ |
102 *****************************************************************************/ |
| 103 |
103 |
| 104 static GtkHBoxClass *parent_class = NULL; |
104 static GtkBoxClass *parent_class = NULL; |
| 105 |
105 |
| 106 /****************************************************************************** |
106 /****************************************************************************** |
| 107 * Prototypes |
107 * Prototypes |
| 108 *****************************************************************************/ |
108 *****************************************************************************/ |
| 109 |
109 |
| 1335 pidgin_webviewtoolbar_class_init(gpointer _class, gpointer class_data) |
1335 pidgin_webviewtoolbar_class_init(gpointer _class, gpointer class_data) |
| 1336 { |
1336 { |
| 1337 PidginWebViewToolbarClass *class = _class; |
1337 PidginWebViewToolbarClass *class = _class; |
| 1338 GObjectClass *gobject_class = _class; |
1338 GObjectClass *gobject_class = _class; |
| 1339 |
1339 |
| 1340 parent_class = g_type_class_ref(GTK_TYPE_HBOX); |
1340 parent_class = g_type_class_ref(GTK_TYPE_BOX); |
| 1341 gobject_class->finalize = pidgin_webviewtoolbar_finalize; |
1341 gobject_class->finalize = pidgin_webviewtoolbar_finalize; |
| 1342 |
1342 |
| 1343 g_type_class_add_private(class, sizeof(PidginWebViewToolbarPriv)); |
1343 g_type_class_add_private(class, sizeof(PidginWebViewToolbarPriv)); |
| 1344 |
1344 |
| 1345 purple_prefs_add_none(PIDGIN_PREFS_ROOT "/conversations/toolbar"); |
1345 purple_prefs_add_none(PIDGIN_PREFS_ROOT "/conversations/toolbar"); |
| 1619 0, |
1619 0, |
| 1620 (GInstanceInitFunc)pidgin_webviewtoolbar_init, |
1620 (GInstanceInitFunc)pidgin_webviewtoolbar_init, |
| 1621 NULL |
1621 NULL |
| 1622 }; |
1622 }; |
| 1623 |
1623 |
| 1624 webviewtoolbar_type = g_type_register_static(GTK_TYPE_HBOX, |
1624 webviewtoolbar_type = g_type_register_static(GTK_TYPE_BOX, |
| 1625 "PidginWebViewToolbar", &webviewtoolbar_info, 0); |
1625 "PidginWebViewToolbar", &webviewtoolbar_info, 0); |
| 1626 } |
1626 } |
| 1627 |
1627 |
| 1628 return webviewtoolbar_type; |
1628 return webviewtoolbar_type; |
| 1629 } |
1629 } |