| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.h" | |
| 6 | |
| 7 G_DEFINE_TYPE(GtkCustomMenu, gtk_custom_menu, GTK_TYPE_MENU) | |
| 8 | |
| 9 static void gtk_custom_menu_init(GtkCustomMenu* menu) { | |
| 10 } | |
| 11 | |
| 12 static void gtk_custom_menu_class_init(GtkCustomMenuClass* klass) { | |
| 13 } | |
| 14 | |
| 15 GtkWidget* gtk_custom_menu_new() { | |
| 16 return GTK_WIDGET(g_object_new(gtk_custom_menu_get_type(), NULL)); | |
| 17 } | |
| 18 | |
| 19 G_DEFINE_TYPE(GtkCustomMenuItem, gtk_custom_menu_item, GTK_TYPE_MENU_ITEM) | |
| 20 | |
| 21 static void gtk_custom_menu_item_init(GtkCustomMenuItem* item) { | |
| 22 } | |
| 23 | |
| 24 static void gtk_custom_menu_item_class_init(GtkCustomMenuItemClass* klass) { | |
| 25 } | |
| 26 | |
| 27 GtkWidget* gtk_custom_menu_item_new() { | |
| 28 return GTK_WIDGET(g_object_new(gtk_custom_menu_item_get_type(), NULL)); | |
| 29 } | |
| OLD | NEW |