mirror of
https://github.com/GNOME/gedit
synced 2024-07-04 16:59:10 +00:00
Window: remove the ::tabs-reordered signal (unused)
This commit is contained in:
parent
31b6bfc9b1
commit
a4d30a3a2a
|
@ -32,6 +32,14 @@
|
|||
not an essential API).
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <code>GeditWindow::tabs-reordered</code> signal has been removed.
|
||||
It was unused. Also, functions like
|
||||
<link linkend="gedit-window-get-documents">gedit_window_get_documents()</link>
|
||||
don't specify the order in which the objects are listed.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <code>gedit_utils_location_get_dirname_for_display()</code>
|
||||
|
|
|
@ -133,7 +133,6 @@ enum
|
|||
{
|
||||
SIGNAL_TAB_ADDED,
|
||||
SIGNAL_TAB_REMOVED,
|
||||
SIGNAL_TABS_REORDERED,
|
||||
SIGNAL_ACTIVE_TAB_CHANGED,
|
||||
N_SIGNALS
|
||||
};
|
||||
|
@ -461,15 +460,6 @@ gedit_window_class_init (GeditWindowClass *klass)
|
|||
1,
|
||||
GEDIT_TYPE_TAB);
|
||||
|
||||
signals[SIGNAL_TABS_REORDERED] =
|
||||
g_signal_new ("tabs-reordered",
|
||||
G_OBJECT_CLASS_TYPE (object_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (GeditWindowClass, tabs_reordered),
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE,
|
||||
0);
|
||||
|
||||
/**
|
||||
* GeditWindow::active-tab-changed:
|
||||
* @window: the #GeditWindow emitting the signal.
|
||||
|
@ -1821,8 +1811,6 @@ on_page_reordered (GeditMultiNotebook *multi,
|
|||
GeditWindow *window)
|
||||
{
|
||||
update_actions_sensitivity (window);
|
||||
|
||||
g_signal_emit (G_OBJECT (window), signals[SIGNAL_TABS_REORDERED], 0);
|
||||
}
|
||||
|
||||
static GtkNotebook *
|
||||
|
|
|
@ -73,13 +73,11 @@ struct _GeditWindowClass
|
|||
GtkApplicationWindowClass parent_class;
|
||||
|
||||
/* Signals */
|
||||
void (* tab_added) (GeditWindow *window,
|
||||
GeditTab *tab);
|
||||
void (* tab_added) (GeditWindow *window,
|
||||
GeditTab *tab);
|
||||
|
||||
void (* tab_removed) (GeditWindow *window,
|
||||
GeditTab *tab);
|
||||
|
||||
void (* tabs_reordered) (GeditWindow *window);
|
||||
void (* tab_removed) (GeditWindow *window,
|
||||
GeditTab *tab);
|
||||
};
|
||||
|
||||
/* Public methods */
|
||||
|
|
Loading…
Reference in New Issue
Block a user